package com.yanxx.codegenerator.model;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 编码状态响应模型
 */
@Schema(description = "编码生成器状态信息")
public class CodeStatusResponse {

    @Schema(description = "可用的回收编码数量", example = "5")
    private int availableCount;

    @Schema(description = "待确认编码数量", example = "3")
    private int pendingCount;

    @Schema(description = "已确认编码数量", example = "100")
    private int confirmedCount;

    @Schema(description = "已回收编码数量", example = "5")
    private int recycledCount;

    public CodeStatusResponse() {
    }

    public CodeStatusResponse(int availableCount, int pendingCount, int confirmedCount, int recycledCount) {
        this.availableCount = availableCount;
        this.pendingCount = pendingCount;
        this.confirmedCount = confirmedCount;
        this.recycledCount = recycledCount;
    }

    public int getAvailableCount() {
        return availableCount;
    }

    public void setAvailableCount(int availableCount) {
        this.availableCount = availableCount;
    }

    public int getPendingCount() {
        return pendingCount;
    }

    public void setPendingCount(int pendingCount) {
        this.pendingCount = pendingCount;
    }

    public int getConfirmedCount() {
        return confirmedCount;
    }

    public void setConfirmedCount(int confirmedCount) {
        this.confirmedCount = confirmedCount;
    }

    public int getRecycledCount() {
        return recycledCount;
    }

    public void setRecycledCount(int recycledCount) {
        this.recycledCount = recycledCount;
    }
}